<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{notempty name="list_title"}{$list_title}{else/}{$list_name}列表{/notempty}{neq name="list_page" value="1"}第{$list_page}页{/neq} - {$sitename}</title>
<meta name="keywords" content="{notempty name="list_keywords"}{$list_keywords}{else/}最新{$list_name},{$keywords}{/notempty}">
<meta name="description" content="{notempty name="list_description"}{$list_description}{else/}{$description}{/notempty}">
{include file="zp_include" /}
</head>
<body>
{include file="zp_header" /}
<div class="tab-a navs w1214">
<div class="wz fn-left"><span>您所在的位置：</span><a href="{$siteurl}" title="{$sitename}">首页</a><em>&gt;&gt;</em><a class="current" href="{$list_url}">{$list_name}</a></div></div>
<div class="list-u">
<div class="tab-a list-all w1214">
<div class="list-title"><div class="list_s_im"><a rel="nofollow" href="{$list_url}" class='poster_btn currt' data="picm-1" title="图片模式"></a></div>
<div class="list-r-tool">
<a href="{$list_url}" {php} if($_GET[order]=="id") {echo "class='newico curr'";}else{echo "class='newico'";} {/php} data="order-id"><em></em>最新</a>
<a href="{$list_url}" {php} if($_GET[order]=="hits") echo "class='curr hotico'"; {/php}{php} if($_GET[order]=="") echo "class='curr hotico'"; {/php} data="order-hits"><em></em>人气</a>
</div>
</div>
<div class="tab-a special-all-item w1214">
<ul class="special-all-img" id="contents">
     {php}$ii=0;
    if($_GET[order])
    $s_order=$_GET[order]." DESC";
    else
    $s_order="hits desc";  
    $special_list = zanpian_mysql_special('limit:15;field:special_id,special_cid,special_name,special_letters,special_mx,special_logo;page:true;order:special_'.$s_order.';');{/php}
{volist name="special_list" id="zanpian"}
  <li><a  class="special-img"  href="{$zanpian.special_readurl}" title="{$zanpian.special_name}" target="_blank"><img class="loading" src="{$zanpian.special_logo}" alt="{$zanpian.special_name}">
    <label class="text">{$zanpian.special_name}</label>
    </a> </li>
{/volist}
</ul>
</div>
</div>
{notempty name="special_list"}
 <div class="tab-a uipages pages w1214" id="long-page"><ul class="pagination"><span class="total">共{$special_list.0.page.pagecount}条数据&nbsp;页次:{$special_list.0.page.currentpage}/{$special_list.0.page.totalpage}页</span>{$special_list.0.page.pageurl}</ul></div> 
 {/notempty} 
</div>
</div>
{include file="zp_footer" /}
<script type="text/javascript">
window.onerror=function(){
	return true;
}
Root='/';
var windowurl='';
var windowuall='';
if(window.location.href.indexOf('show')>0){
  windowurl=window.location.href;
}
var parms='<?php echo $_GET[p]; ?>';
var pid='';
function pagegooo(url){ 
url=url+".html";
   if(($('#contents li').length > 3)) $("html,body").animate({scrollTop:$("#contents").offset().top - 93},500);
	$("#contents").html('<div class="load">努力加载中……</div>');
	$.get(url, function(data,status) {
	 var value=jQuery('#contents', data).html();
      if(value=='') {
	  value=  '<div class="kong">抱歉，没有找到相关内容！</div>';
	  }  
	 $("#contents").html(value);
	 /********/
	 $("#short-page").html(jQuery('#short-page', data).html())
	 $("#long-page").html(jQuery('#long-page', data).html())
     $(".pages a").click(function (e){
                        e.preventDefault();
                        var curdata=$(this).attr('data').split('-');
                        parms[curdata[0]]=curdata[1];
                        var url=parseurl(parms);
                        pagegooo(url);
                        return false;
                    });
	});	
}
$(function(){
parms=eval("({'p':'1'})");
});
function parseurl(rr){
  var url=Root + 'index.php?s=special-show';
  for(var c in rr){
     if(rr[c]!='0'){
    url=url+"-"+c+"-"+rr[c];
	}
  }
  //url=url+"-ajax";
  return url;
}
$(function(){
    $('.pages a').click(function (e){
                e.preventDefault();
                $(this).addClass('curr');
                $(this).siblings().removeClass('curr');
                var curdata=$(this).attr('data').split('-');
                parms[curdata[0]]=curdata[1];
                var url=parseurl(parms);
                pagegooo(url);
            }
);
	    $('.list-r-tool a').click(function (e){
                e.preventDefault();
                $(this).addClass('curr');
                $(this).siblings().removeClass('curr');

                var curdata=$(this).attr('data').split('-');
                parms[curdata[0]]=curdata[1];
                var url=parseurl(parms);
                pagegooo(url);
            }
);	
});
conbread();
</script>
</body>
</html>